﻿<?php
	
	include 'conexao.php';
	include 'paginas/funcoes.php';
	
	for($i = 1; $i <= 15; $i++){
		$data = DBRead('geral',"WHERE id={$i}");
		$insert = "INSERT INTO avaliacao_geral(turma,prof) VALUES ('{$data['turma']}','{$data['id_prof']}')";
		mysql_query($insert) or die(mysql_error());
	}
	echo('ok');
	
?>